package com.kefu.robot.model;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@TableName(value="robot_synonym")
@ApiModel(description="同义词")
public class RobotSynonym implements Serializable {
    /**
     * 主键
     */
    @TableId(value="id")
    @NotEmpty
    @ApiModelProperty(name = "id", value = "主键")
    private String id;

    /**
     * 租户
     */
    @TableField(value = "tenant_id")
    @ApiModelProperty(name = "tenantId", value = "租户")
    private String tenantId;

    /**
     * 标准词
     */
    @ApiModelProperty(name = "title", value = "标准词")
    private String title;

    /**
     * 同义词，逗号分隔
     */
    @ApiModelProperty(name = "question", value = "同义词，逗号分隔")
    private String question;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    @ApiModelProperty(name = "createUser", value = "创建人")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Long createTime;

    /**
     * 修改人
     */
    @TableField(value = "update_user")
    @ApiModelProperty(name = "updateUser", value = "修改人")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(name = "updateTime", value = "修改时间")
    private Long updateTime;

    private static final long serialVersionUID = 1L;
}